using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Data.Entity.Infrastructure;
using System.Data.SqlClient;


namespace ScrumProject.Models
{
    [MetadataType(typeof(UserMetadata))]
     public partial class User
    {
        public User()
        {
            this.Project_User = new List<Project_User>();
        }

        public int Id { get; set; }
        public string Username { get; set; }
        public string Password { get; set; }
        public string Name { get; set; }
        public string Surname { get; set; }
        public string Email { get; set; }
        public Nullable<bool> isAdmin { get; set; }
        public virtual ICollection<Project_User> Project_User { get; set; }

    }
}
